import sys
from PyQt5.QtWidgets import QApplication
from main_window import MainWindow

import logging
from datetime import datetime

from logger import log_info, log_warning, log_error, log_critical


def main():
    app = QApplication(sys.argv)
    app.setStyle('Fusion')

    window = MainWindow()
    window.show()
    window.showMaximized()
    log_info("start...")
    sys.exit(app.exec_())


if __name__ == '__main__':
    main()
